/*
 * BackupBO.java
 *
 * Created on March 21, 2007, 5:27 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package finalintex2web;

/**
 *
 * @author craig
 */
public class BackupBO extends RevenueSourceBO {
    
    private int size;
    private String begindate = null, enddate = null;
    private boolean indb = false, dirty = false;
    
    
    /** Creates a new instance of BackupBO */
    BackupBO(String id) {
        super(id);
        super.setId(id);
            
    }

    /**
     * 
     * @return 
     */
    public int getSize() {
        return size;
    }

    /**
     * 
     * @param size 
     */
    public void setSize(int size) {
        this.size = size;
        super.setDirty(true);
    }

    /**
     * 
     * @return 
     */
    public String getBegindate() {
        return begindate;
    }

    /**
     * 
     * @param begindate 
     */
    public void setBegindate(String begindate) {
        this.begindate = begindate;
        super.setDirty(true);
    }

    /**
     * 
     * @return 
     */
    public String getEnddate() {
        return enddate;
    }

    /**
     * 
     * @param enddate 
     */
    public void setEnddate(String enddate) {
        this.enddate = enddate;
        super.setDirty(true);
    }

    public boolean isIndb() {
        return indb;
    }

    public void setIndb(boolean indb) {
        this.indb = indb;
    }

    public boolean isDirty() {
        return dirty;
    }

    public void setDirty(boolean dirty) {
        this.dirty = dirty;
    }
    
    
}
